package com.solution.admin.promotion.entity;

import java.math.BigDecimal;
import java.util.List;

import com.solution.common.entity.BaseEntity;

/**
 * 活动规则-满赠信息实体类
 * 
 * @author xu_cc
 * @date 2017-09-27 23:27:01
 */
public class PromotionRuleGiftEntity extends BaseEntity {
    private static final long serialVersionUID = -3926291988306842687L;
    /* 赠品 */
    private List<PromotionProductEntity> giftProductList;
    /* 赠品编码字符串，逗号分隔 */
    private String giftProductCodeStr;

    /**
     * 活动ID
     */
    private Long promotionId;

    /**
     * 订单金额
     */
    private BigDecimal orderMoney;

    /**
     * 赠品类型（1=商品，2=优惠券，3=积分）
     */
    private String giftType;

    /**
     * 赠品积分值
     */
    private BigDecimal giftValue;
    /**赠送的优惠券ID*/
    private Long couponId;
    
    /**
     * 活动ID
     */
    public Long getPromotionId() {
        return promotionId;
    }

    public void setPromotionId(Long promotionId) {
        this.promotionId = promotionId;
    }

    /**
     * 订单金额
     */
    public BigDecimal getOrderMoney() {
        return orderMoney;
    }

    public void setOrderMoney(BigDecimal orderMoney) {
        this.orderMoney = orderMoney;
    }

    /**
     * 赠品类型（1=商品，2=优惠券，3=积分）
     */
    public String getGiftType() {
        return giftType;
    }

    public void setGiftType(String giftType) {
        this.giftType = giftType;
    }

    /**
     * 赠品值（优惠券和积分时有效）
     */
    public BigDecimal getGiftValue() {
        return giftValue;
    }

    public void setGiftValue(BigDecimal giftValue) {
        this.giftValue = giftValue;
    }

    /**
     * @return the giftProductList
     */
    public List<PromotionProductEntity> getGiftProductList() {
        return giftProductList;
    }

    /**
     * @param giftProductList
     *            the giftProductList to set
     */
    public void setGiftProductList(List<PromotionProductEntity> giftProductList) {
        this.giftProductList = giftProductList;
    }

    /**
     * @return the giftProductCodeStr
     */
    public String getGiftProductCodeStr() {
        return giftProductCodeStr;
    }

    /**
     * @param giftProductCodeStr
     *            the giftProductCodeStr to set
     */
    public void setGiftProductCodeStr(String giftProductCodeStr) {
        this.giftProductCodeStr = giftProductCodeStr;
    }

    /**
     * @return the couponId
     */
    public Long getCouponId() {
        return couponId;
    }

    /**
     * @param couponId the couponId to set
     */
    public void setCouponId(Long couponId) {
        this.couponId = couponId;
    }

}
